package com.zjitc.model;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: lhl
 * @date-Time: 2018/4/14 0014
 * @description:
 */
public class Student {

    private String name;
    private String hobby;
    List<GirlFriend> girlFriends;

    public Student() {
    }

    public Student(String name, String hobby, List<GirlFriend> girlFriends) {
        this.name = name;
        this.hobby = hobby;
        this.girlFriends = girlFriends;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public List<GirlFriend> getGirlFriends() {
        return girlFriends;
    }

    public void setGirlFriends(List<GirlFriend> girlFriends) {
        this.girlFriends = girlFriends;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", hobby='" + hobby + '\'' +
                ", girlFriends=" + girlFriends +
                '}';
    }
}
